package com.xd.pre.modules.tpshop.mapper;

import com.xd.pre.modules.sys.domain.SysRole;
import com.xd.pre.modules.tpshop.domain.TpGoodsAttr;
import com.xd.pre.modules.tpshop.domain.TpGoodsCategory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lx
 * @since 2020-06-03
 */
public interface TpGoodsCategoryMapper extends BaseMapper<TpGoodsCategory> {

    TpGoodsCategory getOne2();


    @Select(" SELECT * from tp_goods_category t WHERE t.category_id = 1")
    TpGoodsCategory getOne3();
}
